namespace VAdvantage.Model
{

/** Generated Model - DO NOT CHANGE */
using System;
using System.Text;
using VAdvantage.DataBase;
using VAdvantage.Common;
using VAdvantage.Classes;
using VAdvantage.Process;
using VAdvantage.Model;
using System.Data;
/** Generated Model for testtable2
 *  @author Jagmohan Bhatt (generated) 
 *  @version Vienna Framework 1.1.1 - $Id$ */
public class X_testtable2 : PO
{
public X_testtable2 (Context ctx, int testtable2_ID, String trxName) : base (ctx, testtable2_ID, trxName)
{
/** if (testtable2_ID == 0)
{
}
 */
}
/** Load Constructor 
@param ctx context
@param rs result set 
@param trxName transaction
*/
public X_testtable2 (Context ctx, DataRow rs, String trxName) : base(ctx, rs, trxName)
{
}
/** Serial Version No */
static long serialVersionUID = 27519927019159L;
/** Last Updated Timestamp 3/23/2009 3:18:22 PM */
public static long updatedMS = 1237801702370L;
/** AD_Table_ID=1000001 */
public static int Table_ID=1000001;

/** TableName=testtable2 */
public static String Table_Name="testtable2";

protected static KeyNamePair model = new KeyNamePair(1000001,"testtable2");

protected Decimal accessLevel = new Decimal(4);
/** AccessLevel
@return 4 - System 
*/
protected override int Get_AccessLevel()
{
return int.Parse(accessLevel.ToString());
}
/** Load Meta Data
@param ctx context
@return PO Info
*/
protected override POInfo InitPO (Context ctx)
{
POInfo poi = POInfo.GetPOInfo (ctx, Table_ID);
return poi;
}
/** Info
@return info
*/
public override String ToString()
{
StringBuilder sb = new StringBuilder ("X_testtable2[").Append(Get_ID()).Append("]");
return sb.ToString();
}
}

}
